package com.syher.quartz.task.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by shenyuhang on 2018/3/7.
 */
public class TaskInfo implements Serializable {

    String name;
    String group;
    String cron;
    Date start;
    Date end;
    Integer interval;
    Integer state;

    public String getName() {
        return name;
    }

    public TaskInfo setName(String name) {
        this.name = name;
        return this;
    }

    public String getGroup() {
        return group;
    }

    public TaskInfo setGroup(String group) {
        this.group = group;
        return this;
    }

    public String getCron() {
        return cron;
    }

    public TaskInfo setCron(String cron) {
        this.cron = cron;
        return this;
    }

    public Date getStart() {
        return start;
    }

    public TaskInfo setStart(Date start) {
        this.start = start;
        return this;
    }

    public Date getEnd() {
        return end;
    }

    public TaskInfo setEnd(Date end) {
        this.end = end;
        return this;
    }

    public Integer getInterval() {
        return interval;
    }

    public TaskInfo setInterval(Integer interval) {
        this.interval = interval;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public TaskInfo setState(Integer state) {
        this.state = state;
        return this;
    }
}
